const app = getApp();
Page({
  data: {
    cndUrl: app.domainName,
  },
  onLoad: function (options) {

    wx.getLocation({
      type: 'wgs84',
      success (res) {
        console.log(res)
        const latitude = res.latitude
        const longitude = res.longitude
        const speed = res.speed
        const accuracy = res.accuracy
      }
     })
      
      console.log(this.data.cndUrl)
      console.log(app.domainName)
  },
  onReady: function () {

  },
  onShow: function () {

  },
  onHide: function () {

  },
  onShareAppMessage: function () {

  }
})